package com.ivanceras.client;

import java.io.Serializable;
import java.util.List;

import com.google.gwt.user.client.ui.Widget;
import com.ivanceras.client.view.QuestionnaireViewer;

public class Questionnaire implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 6477539719957276732L;
	public Long questionnaireID;
	public String title;
	public String description;
	public List<Question> questions;
	
	public int items; //number of items 

	public Questionnaire(){
		
	}
	public Widget getWidget(){
		QuestionnaireViewer qnrViewer = new QuestionnaireViewer(this);
		return qnrViewer.getWidget();
	}
}
